package com.caocaog.market.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.caocaog.market.modules.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户地址管理表
 *
 * @author jeecg-boot
 * @date 2021-12-13
 */
@Data
@TableName("mk_member_address")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mk_member_address对象", description="用户地址管理表")
public class MemberAddress extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**会员id*/
	@Excel(name = "会员id", width = 15)
    @ApiModelProperty(value = "会员id")
    private String memberId;
	/**地址类型，0：通用，1：发货地址，2：收货地址*/
	@Excel(name = "地址类型，0：通用，1：发货地址，2：收货地址", width = 15)
    @ApiModelProperty(value = "地址类型，0：通用，1：收货地址，2：发货地址")
    private Integer addrType;
	/**标签，0：常用地址1：家，2：公司，3：店铺*/
	@Excel(name = "标签，0：常用地址1：家，2：公司，3：店铺", width = 15)
    @ApiModelProperty(value = "标签，0：常用地址1：家，2：公司，3：店铺")
    private Integer addrLabel;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String name;
	/**手机号*/
	@Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String mobile;
	/**地址（详细地址）*/
	@Excel(name = "地址（详细地址）", width = 15)
    @ApiModelProperty(value = "地址（详细地址）")
    private String addr;
	/**地址aoi/简短/建筑物 名称*/
	@Excel(name = "地址aoi/简短/建筑物 名称", width = 15)
    @ApiModelProperty(value = "地址aoi/简短/建筑物 名称")
    private String addrAoi;
	/**门牌号*/
	@Excel(name = "门牌号", width = 15)
    @ApiModelProperty(value = "门牌号")
    private String addrHouse;
	/**经度*/
	@Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度")
    private String lng;
	/**纬度*/
	@Excel(name = "纬度", width = 15)
    @ApiModelProperty(value = "纬度")
    private String lat;
	/**区县级行政区域编码*/
	@Excel(name = "区县级行政区域编码", width = 15)
    @ApiModelProperty(value = "区县级行政区域编码")
    private String districtCode;
	/**区县级行政区域编码*/
	@Excel(name = "区县级行政区域编码", width = 15)
    @ApiModelProperty(value = "区县级行政区域编码")
    private String townShip;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**性别*/
	@Excel(name = "性别", width = 15)
    @ApiModelProperty(value = "性别")
    private Integer sex;
}
